library(DiagrammeR)

This is the simplest case

Add other vatiations: